This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
summary(cars)
## speed dist
## Min. : 4.0 Min. : 2.00
## 1st Qu.:12.0 1st Qu.: 26.00
## Median :15.0 Median : 36.00
## Mean :15.4 Mean : 42.98
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00
You can also embed plots, for example:
## Warning: package 'psych' was built under R version 3.5.3
## Warning: package 'skimr' was built under R version 3.5.3
##
## Attaching package: 'skimr'
## The following object is masked from 'package:stats':
##
## filter
## Warning: package 'plotly' was built under R version 3.5.3
## Loading required package: ggplot2
## Warning: package 'ggplot2' was built under R version 3.5.3
##
## Attaching package: 'ggplot2'
## The following objects are masked from 'package:psych':
##
## %+%, alpha
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout
## age job marital education default housing loan
## 1 56 housemaid married basic.4y no no no
## 2 57 services married high.school unknown no no
## 3 56 services married high.school no no yes
## 4 45 services married basic.9y unknown no no
## 5 59 admin. married professional.course no no no
## 6 41 blue-collar married unknown unknown no no
## contact day_of_week duration campaign pdays previous poutcome
## 1 telephone mon 261 1 999 0 nonexistent
## 2 telephone mon 149 1 999 0 nonexistent
## 3 telephone mon 307 1 999 0 nonexistent
## 4 telephone mon 198 1 999 0 nonexistent
## 5 telephone mon 139 1 999 0 nonexistent
## 6 telephone mon 217 1 999 0 nonexistent
## emp.var.rate cons.price.idx cons.conf.idx euribor3m nr.employed y
## 1 1.1 93.994 -36.4 4.857 5191 no
## 2 1.1 93.994 -36.4 4.857 5191 no
## 3 1.1 93.994 -36.4 4.857 5191 no
## 4 1.1 93.994 -36.4 4.857 5191 no
## 5 1.1 93.994 -36.4 4.857 5191 no
## 6 1.1 93.994 -36.4 4.857 5191 no
## Warning in RColorBrewer::brewer.pal(N, "Set2"): minimal value for n is 3, returning requested palette with 3 different levels
## Warning in RColorBrewer::brewer.pal(N, "Set2"): minimal value for n is 3, returning requested palette with 3 different levels
Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.